<div class="login">
	<?php if($this->errors && count($this->errors))
	{
		echo '<div class="error">';
		foreach($this->errors as $error)
		{
			echo '<p>' . $error . '</p>';
		}
		echo '</div>';
	}
	?>
	<form id="login_form" action="http://<?php echo $_SERVER['SERVER_NAME']; ?>/blog/admin/login" method="post">
		<div class="center cp_header">
			Control Panel Login
		</div>
		<div class="float_container">
			<div class="form_left">
				Username:
			</div>
			<div class="form_right">
				<input name="username" type="text" />
			</div>
		</div>
		<div class="float_container">
			<div class="form_left">
				Password
			</div>
			<div class="form_right">
				<input name="password" type="password" />
			</div>
		</div>
		<div class="center">
			<input type="hidden" name="login" value="true" />
			<input type="button" value="Login" onclick="javascript: $('login_form').submit();" />
		</div>
	</form>
</div>